//==============================================================================
// guild_anim.txt
//==============================================================================

import Construction_defines_anim.txt
import building_damage_defines_anim.txt
	
//==============================================================================
define VINEA
{
	set hotspot
	{
		version
		{
			Visual Building VineA
		}
	}  
}

//==============================================================================
define VINEB
{
	set hotspot
	{
		version
		{
			Visual Building VineB
		}
	}  
}

//==============================================================================
define CypressB
{
	set hotspot
	{
		version
		{
			Visual Terrain G CypressB
		}
	}  
}

//==============================================================================
define CypressA
{
	set hotspot
	{
		version
		{
			Visual Terrain G CypressA
		}
	}  
}

//==============================================================================
define Dust
{
	set hotspot
	{
		version
		{
			Visualparticle SFX A Building DustA
		}
	}  
}

//==============================================================================
define sparkles
{
	set hotspot
   {
      version
      {
         Visualparticle World A Gold Sparkles
      }
   }
}

//==============================================================================
anim idle
{
	SetSelector
	{
		TechLogic none/age 2/age 3/age 4
 //---------------------------Age 1--------------------------------// 
		SetSelector
		{
			ConstructionLogic 0 33 66
			set hotspot
			{
				version
				{
					Visual Building C Garden Age1
					Connect attachpoint sparkles hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction3x3 A
					connect attachpoint G_Long_Brick hotspot
					connect face G_Long_Brick hotspot
					connect chin G_Medium_Brick hotspot
					connect leftfoot G_Medium_Brick hotspot
					connect lefthand G_Small_Brick hotspot
					connect leftleg G_Small_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction3x3 B
					connect attachpoint G_Long_Brick hotspot
					connect face G_Long_Brick hotspot
					connect chin G_Medium_Brick hotspot
					connect leftfoot G_Medium_Brick hotspot
					connect lefthand G_Small_Brick hotspot
					connect leftleg G_Small_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction Guild
					connect attachpoint G_Long_Brick hotspot
					connect face G_Long_Brick hotspot
					connect chin G_Medium_Brick hotspot
					connect leftfoot G_Medium_Brick hotspot
					connect lefthand G_Small_Brick hotspot
					connect leftleg G_Small_Brick hotspot
				}
			}
		}
 //---------------------------Age 2--------------------------------// 
		SetSelector
		{
			ConstructionLogic 0 33 66
			set hotspot
			{
				version
				{
					Visual Building C Garden Age1
					ReplaceTexture building c roofage1/building c roofage2
					ReplaceTexture building c wallsage1/building c wallsage2
					Connect attachpoint sparkles hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction3x3 A
					connect attachpoint G_Long_Brick hotspot
					connect face G_Long_Brick hotspot
					connect chin G_Medium_Brick hotspot
					connect leftfoot G_Medium_Brick hotspot
					connect lefthand G_Small_Brick hotspot
					connect leftleg G_Small_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction3x3 B
					connect attachpoint G_Long_Brick hotspot
					connect face G_Long_Brick hotspot
					connect chin G_Medium_Brick hotspot
					connect leftfoot G_Medium_Brick hotspot
					connect lefthand G_Small_Brick hotspot
					connect leftleg G_Small_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction Guild
					connect attachpoint G_Long_Brick hotspot
					connect face G_Long_Brick hotspot
					connect chin G_Medium_Brick hotspot
					connect leftfoot G_Medium_Brick hotspot
					connect lefthand G_Small_Brick hotspot
					connect leftleg G_Small_Brick hotspot
				}
			}
		}
 //---------------------------Age 3--------------------------------// 
		SetSelector
		{
			ConstructionLogic 0 33 66
			set hotspot
			{
				version
				{
					Visual Building C Garden Age3
					ReplaceTexture building c roofage1/building c roofage3
					ReplaceTexture building c wallsage1/building c wallsage3
					Connect attachpoint sparkles hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction3x3 A
					connect attachpoint G_Long_Brick hotspot
					connect face G_Long_Brick hotspot
					connect chin G_Medium_Brick hotspot
					connect leftfoot G_Medium_Brick hotspot
					connect lefthand G_Small_Brick hotspot
					connect leftleg G_Small_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction3x3 B
					connect attachpoint G_Long_Brick hotspot
					connect face G_Long_Brick hotspot
					connect chin G_Medium_Brick hotspot
					connect leftfoot G_Medium_Brick hotspot
					connect lefthand G_Small_Brick hotspot
					connect leftleg G_Small_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction Guild
					connect attachpoint G_Long_Brick hotspot
					connect face G_Long_Brick hotspot
					connect chin G_Medium_Brick hotspot
					connect leftfoot G_Medium_Brick hotspot
					connect lefthand G_Small_Brick hotspot
					connect leftleg G_Small_Brick hotspot
				}
			}
		}
	 //---------------------------Age 4--------------------------------// 
		SetSelector
		{
			ConstructionLogic 0 33 66
			set hotspot
			{
				version
				{
					Visual Building C Garden Age4
					ReplaceTexture building c roofage1/building c roofage4
					ReplaceTexture building c wallsage1/building c wallsage4
					Connect attachpoint sparkles hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction3x3 A
					connect attachpoint G_Long_Brick hotspot
					connect face G_Long_Brick hotspot
					connect chin G_Medium_Brick hotspot
					connect leftfoot G_Medium_Brick hotspot
					connect lefthand G_Small_Brick hotspot
					connect leftleg G_Small_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction3x3 B
					connect attachpoint G_Long_Brick hotspot
					connect face G_Long_Brick hotspot
					connect chin G_Medium_Brick hotspot
					connect leftfoot G_Medium_Brick hotspot
					connect lefthand G_Small_Brick hotspot
					connect leftleg G_Small_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction Guild
					connect attachpoint G_Long_Brick hotspot
					connect face G_Long_Brick hotspot
					connect chin G_Medium_Brick hotspot
					connect leftfoot G_Medium_Brick hotspot
					connect lefthand G_Small_Brick hotspot
					connect leftleg G_Small_Brick hotspot
				}
			}
		}
	}
}

//==============================================================================
anim Death
{
	SetSelector
	{
		TechLogic none/age 2/age 3/age 4
 //---------------------------Age 1--------------------------------// 
		SetSelector
		{
			ConstructionLogic 0 33 66
			set hotspot
			{
				version
				{
					Visual Building C Garden Age1_Death
						connect smoke0 dust hotspot
						connect smoke1 dust hotspot
						connect smoke2 dust hotspot
						connect smoke3 dust hotspot
					 
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction3x3 A
					connect attachpoint G_Long_Brick hotspot
					connect face G_Long_Brick hotspot
					connect chin G_Medium_Brick hotspot
					connect leftfoot G_Medium_Brick hotspot
					connect lefthand G_Small_Brick hotspot
					connect leftleg G_Small_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction3x3 B
					connect attachpoint G_Long_Brick hotspot
					connect face G_Long_Brick hotspot
					connect chin G_Medium_Brick hotspot
					connect leftfoot G_Medium_Brick hotspot
					connect lefthand G_Small_Brick hotspot
					connect leftleg G_Small_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction Guild
					connect attachpoint G_Long_Brick hotspot
					connect face G_Long_Brick hotspot
					connect chin G_Medium_Brick hotspot
					connect leftfoot G_Medium_Brick hotspot
					connect lefthand G_Small_Brick hotspot
					connect leftleg G_Small_Brick hotspot
				}
			}
		}
 //---------------------------Age 2--------------------------------// 
		SetSelector
		{
			ConstructionLogic 0 33 66
			set hotspot
			{
				version
				{
					Visual Building C Garden Age1_Death
						ReplaceTexture building c roofage1/building c roofage2
						ReplaceTexture building c wallsage1/building c wallsage2
						connect smoke0 dust hotspot
						connect smoke1 dust hotspot
						connect smoke2 dust hotspot
						connect smoke3 dust hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction3x3 A
					connect attachpoint G_Long_Brick hotspot
					connect face G_Long_Brick hotspot
					connect chin G_Medium_Brick hotspot
					connect leftfoot G_Medium_Brick hotspot
					connect lefthand G_Small_Brick hotspot
					connect leftleg G_Small_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction3x3 B
					connect attachpoint G_Long_Brick hotspot
					connect face G_Long_Brick hotspot
					connect chin G_Medium_Brick hotspot
					connect leftfoot G_Medium_Brick hotspot
					connect lefthand G_Small_Brick hotspot
					connect leftleg G_Small_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction Guild
					connect attachpoint G_Long_Brick hotspot
					connect face G_Long_Brick hotspot
					connect chin G_Medium_Brick hotspot
					connect leftfoot G_Medium_Brick hotspot
					connect lefthand G_Small_Brick hotspot
					connect leftleg G_Small_Brick hotspot
				}
			}
		}
 //---------------------------Age 3--------------------------------// 
		SetSelector
		{
			ConstructionLogic 0 33 66
			set hotspot
			{
				version
				{
					Visual Building C Garden Age3_Death
						ReplaceTexture building c roofage1/building c roofage3
						ReplaceTexture building c wallsage1/building c wallsage3
						connect smoke0 dust hotspot
						connect smoke1 dust hotspot
						connect smoke2 dust hotspot
						connect smoke3 dust hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction3x3 A
					connect attachpoint G_Long_Brick hotspot
					connect face G_Long_Brick hotspot
					connect chin G_Medium_Brick hotspot
					connect leftfoot G_Medium_Brick hotspot
					connect lefthand G_Small_Brick hotspot
					connect leftleg G_Small_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction3x3 B
					connect attachpoint G_Long_Brick hotspot
					connect face G_Long_Brick hotspot
					connect chin G_Medium_Brick hotspot
					connect leftfoot G_Medium_Brick hotspot
					connect lefthand G_Small_Brick hotspot
					connect leftleg G_Small_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction Guild
					connect attachpoint G_Long_Brick hotspot
					connect face G_Long_Brick hotspot
					connect chin G_Medium_Brick hotspot
					connect leftfoot G_Medium_Brick hotspot
					connect lefthand G_Small_Brick hotspot
					connect leftleg G_Small_Brick hotspot
				}
			}
		}
	 //---------------------------Age 4--------------------------------// 
		SetSelector
		{
			ConstructionLogic 0 33 66
			set hotspot
			{
				version
				{
					Visual Building C Garden Age4_Death
						ReplaceTexture building c roofage1/building c roofage4
						ReplaceTexture building c wallsage1/building c wallsage4
						connect smoke0 dust hotspot
						connect smoke1 dust hotspot
						connect smoke2 dust hotspot
						connect smoke3 dust hotspot

				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction3x3 A
					connect attachpoint G_Long_Brick hotspot
					connect face G_Long_Brick hotspot
					connect chin G_Medium_Brick hotspot
					connect leftfoot G_Medium_Brick hotspot
					connect lefthand G_Small_Brick hotspot
					connect leftleg G_Small_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction3x3 B
					connect attachpoint G_Long_Brick hotspot
					connect face G_Long_Brick hotspot
					connect chin G_Medium_Brick hotspot
					connect leftfoot G_Medium_Brick hotspot
					connect lefthand G_Small_Brick hotspot
					connect leftleg G_Small_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction Guild
					connect attachpoint G_Long_Brick hotspot
					connect face G_Long_Brick hotspot
					connect chin G_Medium_Brick hotspot
					connect leftfoot G_Medium_Brick hotspot
					connect lefthand G_Small_Brick hotspot
					connect leftleg G_Small_Brick hotspot
				}
			}
		}
	}
}